package tankGame01;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA
 * Description:坦克大战0.1版
 * User:22954
 * Date:2024-03-01
 * Time:12:00
 */
public class Game extends JFrame {
    MyPanel myPanel = null;
    public static void main(String[] args) {
        Game game = new Game();
    }
    public Game(){
        myPanel = new MyPanel();
        add(myPanel);
        setSize(1000,750);
        setVisible(true);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
